package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IReservationService;
import com.zzyl.nursing.service.impl.ReservationServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class NumberReservationCancel {
    @Autowired
    private IReservationService reservationService;
    public void updateReservation(){
        reservationService.updateReservationByTime();
    }
}
